// console.log('global.page.js', process.env.VUE_APP_PUBLIC_PATH);
const publicPath = process.env.VUE_APP_PUBLIC_PATH;

module.exports = {
  menu: [{
    name: '活期',
    url: `${publicPath}/currentFinance`,
    menuIcon: 'icon_allAPP_huoqi@2x.png',
  }, {
    // 一期不做
  //   name: '定期',
  //   url: `${publicPath}/regularFinance`,
  //   menuIcon: 'icon_allAPP_dingqi@2x.png'
  // }, {
    name: '基金',
    url: `${publicPath}/fund`,
    menuIcon: 'icon_allAPP_jijin@2x.png'
  }, {
    name: '高端',
    url: `${publicPath}/highEndProduct`,
    menuIcon: 'icon_allAPP_gaoduan@2x.png'
  }, /* {
    name: '资产配置',
    url: '/asset',
    menuIcon: ''
  } */],
  subMenu: [{
    name: '首发基金',
    url: `${publicPath}/ipoFund`,
    menuIcon: 'icon_allAPP_daxin@2x.png'
  }, {
    name: '热门板块',
    url: `${publicPath}/fund/hotPlate`,
    menuIcon: 'icon_allAPP_remenbankuai@2x.png'
  }, {
    name: '基金排行',
    url: `${publicPath}/fund/rank`,
    menuIcon: 'icon_allAPP_jijinpaihang@2x.png'
  // }, {
  //   name: '自选产品',
  //   url: '/asset',
  //   menuIcon: 'icon_allAPP_jingxuanjijin@2x.png'
  }, {
    name: '旗峰理财',
    url: `${publicPath}/asset/index`,
    menuIcon: 'icon_allAPP_tiantianjin@2x.png',
    exclude: ['fund']
  // }, {
  //   name: '天添金',
  //   url: '/hq',
  //   menuIcon: 'icon_allAPP_tiantianjin@2x.png'
  }, /* {
    name: '投资策略',
    url: '/strategy',
    menuIcon: 'icon_allAPP_touzicelue@2x.png'
  }, {
    name: '定投专区',
    url: '/hq',
    menuIcon: ''
  }, {
    name: '智选基金',
    url: '/pefund',
    menuIcon: ''
  }, {
    name: '指数估值',
    url: '/fund',
    menuIcon: ''
  }, {
    name: '股票开户',
    url: '/pefund',
    menuIcon: ''
  }, {
    name: '更多',
    url: '/asset',
    menuIcon: ''
  } */
  ],
  regularMenu: [
    {
      name: '天添金',
      className: 'qrp',
      url: `${publicPath}/qrp`,
      menuIcon: 'jubaopen_dingqi_tiantianjin@2x.png',
    },
    {
      name: '旗峰理财',
      className: 'asset',
      url: `${publicPath}/asset/index`,
      menuIcon: 'jubaopen_dingqi_qifeng@2x.png',
    },
    {
      name: '国债逆回购',
      className: 'gznhg',
      id: `20200520017`,
      menuIcon: 'jubaopen_dingqi_nihuigou@2x.png',
    },
  ],
  finanMenu: [
    // {
    //   name: '收益分析',
    //   className: 'yield',
    //   url: `${publicPath}/userCenter/yield`,
    //   menuIcon: 'icon_allapp_shouyifenxi@2x.png',
    // },
    {
      name: '交易记录',
      className: 'order',
      url: `${publicPath}/userCenter/records`,
      menuIcon: 'icon_allapp_jiaoyijilu@2x.png',
    },
    {
      name: '我的定投',
      className: 'invest',
      url: `${publicPath}/userCenter/investIndex`,
      menuIcon: 'icon_allapp_wodedingtou@2x.png',
    },
  ]
};